package bigdata.hourglass.engine.main

object HourglassEngineDevApp {
  def main(args: Array[String]): Unit = {
    HourglassEngineApp.main(Array(
      "-hourglass.name", "HourglassLSql",
      "-hourglass.zkAddress", "node1:2181",
      "-hourglass.engine.port", "2550",
      "-hourglass.akka.logLevel", "debug",
      "-hourglass.master", "local[*]",
      "-hourglass.engine.tag", "default",
      "-hourglass.enableHiveSupport", "false",
      "-spark.hourglass.parallelism", "5",
      "-spark.dynamicAllocation.enabled", "true",
      "-spark.dynamicAllocation.executorIdleTimeout", "30s",
      "-spark.dynamicAllocation.maxExecutors", "100",
      "-spark.dynamicAllocation.minExecutors", "0",
      //动态分区
      "-hive.exec.dynamic.partition", "true",
      "-hive.exec.dynamic.partition.mode", "nonstrict",
      "-hive.exec.max.dynamic.partitions", "20000",
      //调度模式
      "-spark.scheduler.mode", "FAIR",
      "-spark.executor.memoryOverhead", "512"
    ))
  }
}
